package net.maku.association.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.io.Serializable;
import net.maku.framework.common.utils.DateUtils;
import java.util.Date;

/**
* 兴趣协会
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-04-26
*/
@Data
@Schema(description = "兴趣协会")
public class InterestAssociationVO implements Serializable {
	private static final long serialVersionUID = 1L;

	@Schema(description = "id")
	private Long id;

	@Schema(description = "协会名称")
	private String name;

	@Schema(description = "创办时间")
	@JsonFormat(pattern = DateUtils.DATE_PATTERN)
	private Date establishDate;

	@Schema(description = "人员规模：-1表示不限制")
	private Integer scale;

	@Schema(description = "协会所属工会")
	private Long orgId;

	@Schema(description = "协会负责人")
	private Long userId;

	@Schema(description = "协会logo")
	private String logo;

	@Schema(description = "协会主图")
	private String mainPic;

	@Schema(description = "协会详情")
	private String detail;

	@Schema(description = "会长")
	private String president;

	@Schema(description = "附件，多个以逗号分隔")
	private String attachment;

	@Schema(description = "分类")
	private Integer category;

	@Schema(description = "协会地址")
	private String address;

	@Schema(description = "经纬度，逗号分隔")
	private String longlat;

	@Schema(description = "创建时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date createTime;

	private Long memberCount;

	private Integer isJoin;


}